package com.demo.mapper;

import com.demo.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersMapper {
    List<Orders> queryOrdersInfo();                                   	  //��ѯ���ж�����Ϣ�б�
    
    void updateOrdersByState(String pid);								//δ֧��������֧������
    
    //���붩������
    void insertOrderInfo(@Param("money")Double money,@Param("receiverName")String receiverName,@Param("receiverPhone")String receiverPhone,@Param("receiverAddress")String receiverAddress,@Param("paystate")int paystate,@Param("username")String username);								
    int selectProductPnum(String pid);															//�Ȳ�ѯ�����
    void updateProductsInfo(@Param("pnum")int pnum,@Param("pid")String pid,@Param("pnum2")int pnum2);				//���ݹ����������ٿ����
    void deleteUnPayOrdersById(String id);											//ɾ��-��������
    
    
}
